package net.huashitong.commCtrl;

import com.sirdc.modules.core.web.JsonBaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;

/**
 * 数据导入接口
 */
@Controller
@RequestMapping("/dataImport")
public class ImportCtrl extends JsonBaseController {
    @Override
    protected String getView(String s)  {
        return "/modules/import/" + s;
    }

    @RequestMapping(method = RequestMethod.GET)
    public String initPage(HttpServletRequest request, Model model) {

        return getView("query");
    }
}
